-- GENERATED SPELL FOR [Royal Blue Flutterer] --


function spell0_17350(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(36332,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17350', 9000, 1)
end

function Sorts_17350(pUnit, Event)
local choix_sorts_17350 = math.random(0, 0)
if choix_sorts_17350 == 0 then
pUnit:RegisterEvent('spell0_17350', 1, 1)
end
end

function mob17350_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17350', math.random(1500, 3000), 1)
end

function mob17350_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17350_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17350_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17350, 1, 'mob17350_Action')
RegisterUnitEvent(17350, 2, 'mob17350_Leave')
RegisterUnitEvent(17350, 3, 'mob17350_Kill')
RegisterUnitEvent(17350, 4, 'mob17350_Die')
